﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DroidClaim.Web.Service;
using DroidClaim.Web.Models;
namespace DroidClaim.Web.Mapper
{
	public class SurveyorLocationMapper
	{
		public static SurveyorLocationModel DtoToModel(SurveyorLocationDto inputDto) 
		{
			SurveyorLocationModel result = new  SurveyorLocationModel();

									result.Id = inputDto.Id;
											result.Latitude = inputDto.Latitude;
											result.Longitude = inputDto.Longitude;
											result.Code = inputDto.Code;
											result.Name = inputDto.Name;
											result.Status = inputDto.Status;
							
			return result;
		}

		    	
        public static SurveyorLocationDto ModelToDto(SurveyorLocationModel inputModel)
        { 
		
			SurveyorLocationDto result = new  SurveyorLocationDto
        
			{ 

									Id = inputModel.Id,
							
                
									Latitude = inputModel.Latitude,
							
                
									Longitude = inputModel.Longitude,
							
                
									Code = inputModel.Code,
							
                
									Name = inputModel.Name,
							
                
									Status = inputModel.Status,
							
                
				 };
            return result;
        }

	}
}